﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Hospitals/Master/HospitalsMaster.Master" AutoEventWireup="true" CodeBehind="CompanyList.aspx.cs" Inherits="HZ.DrugTrade.Web.Hospitals.SystemManage.CompanyList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">查看企业</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                企业编号：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyid" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                企业名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                企业类型：
                            </td>
                            <td align="left">
                                <asp:DropDownList runat="server" ID="ddltype" >
                                    <asp:ListItem Text="全部" Value=""></asp:ListItem>
                                    <asp:ListItem Text="配送企业" Value="2"></asp:ListItem>
                                    <asp:ListItem Text="生产企业直接配送" Value="3"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查询" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <div style="OVERFLOW:auto;">
    <asp:GridView ID="gvwCheckList" class="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合要求的数据！" DataKeyNames="CompanyID">
        <Columns>
             <asp:BoundField DataField="companyid" HeaderText="企业编号" ReadOnly="true" />
           <asp:BoundField DataField="companyname" HeaderText="企业名称" ReadOnly="true" Visible="false" />
           <asp:TemplateField HeaderText="配送企业">
                <ItemTemplate>
                    <a href="javascript:void(0)" title="查看配送企业详细信息" onclick="window.open('../../CommonPage/CompanyInfo.aspx?companyid=<%# Eval("CompanyID") %>','selectCompany','width=550,height=350,resizable=0,scrollbars=0, status=0, toolbar=0, menubar=0')">
                        <%# Eval("companyname")%></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="companytypes" HeaderText="企业类型" ReadOnly="true" />
            <asp:BoundField DataField="telno" HeaderText="企业联系电话" ReadOnly="true" />
            <%--<asp:BoundField DataField="cellno" HeaderText="联系人手机号码" ReadOnly="true" />
            <asp:BoundField DataField="contactperson" HeaderText="联系人" ReadOnly="true" />
            <asp:BoundField DataField="LayMan" HeaderText="企业法人" ReadOnly="true" />--%>
            <asp:BoundField DataField="author" HeaderText="被授权人" ReadOnly="true" />
            <asp:BoundField DataField="authorcell" HeaderText="被授权人手机" ReadOnly="true" />
           <%-- <asp:BoundField DataField="TotalFund" HeaderText="总资产(万元)" ReadOnly="true" />
            <asp:BoundField DataField="FixFund" HeaderText="固定资产" ReadOnly="true" />
            <asp:BoundField DataField="BusinessCertificate" HeaderText="经营许可证" ReadOnly="true" />
            <asp:BoundField DataField="BusinessCertificateDate" HeaderText="经营许可证有效期" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:BoundField DataField="GSPTime" HeaderText="GSP认证有效期" ReadOnly="true" />
            <asp:BoundField DataField="IsGSP" HeaderText="是否GSP认证" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:BoundField DataField="GSPCode" HeaderText="GSP认证编号" ReadOnly="true" />
            <asp:TemplateField HeaderText="审核状态">
                <ItemTemplate>
                <%#getCheckstatus(Eval("CheckStatus").ToString()) %>
                </ItemTemplate>
                <HeaderStyle Width="80px" />
            </asp:TemplateField>
            
            <asp:TemplateField>
                <HeaderTemplate>
                    选择
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:RadioButton ID="rdobutton" runat="server" />
                </ItemTemplate>
            </asp:TemplateField>--%>
        </Columns>
    </asp:GridView>
    </div>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
<hz:HzButton ID="btnExport" runat="server" Text="导出Excel" CssClass="btn" ToolTip="导出Excel"
                        OnClick="btnExport_Click" /></div>
    <div class="listip">
        <ul>
            <li>说明:</li>
        </ul>
    </div>
    
    <%--<table class="querylist">
        <tr>
            <td align="right">
    <asp:Button ID="btnBack" runat="server" Text="返回" OnClientClick="javascript:history.go(-1);" />
            </td>
        </tr>
    </table>--%>
</asp:Content>
